<?php
namespace Admin\Controller;
use Think\Controller;
use Common\Controller\BaseController;

class PanelController extends BaseController {

    protected function _initialize()
    {
        if(!session("username")){
            $this->redirect("/home/login");
        }
        parent::_initialize();
    }

    public function index(){
        $this->display();
    }
}